package br.cnpq.webflowah.beans;

/**
 * This class stores de min and max value for a specific parameter
 * @author fred
 *
 */
public class ParameterBoundary {

	private String parameterName;
	
	private double minValue;
	
	private double maxValue;

	public String getParameterName() {
		return parameterName;
	}

	public void setParameterName(String parameterName) {
		this.parameterName = parameterName;
	}

	public double getMinValue() {
		return minValue;
	}

	public void setMinValue(double minValue) {
		this.minValue = minValue;
	}

	public double getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(double maxValue) {
		this.maxValue = maxValue;
	}

	public ParameterBoundary(String parameterName, double minValue,
			double maxValue) {
		super();
		this.parameterName = parameterName;
		this.minValue = minValue;
		this.maxValue = maxValue;
	}
	
	public ParameterBoundary() {
		super();
		this.parameterName = "";
		this.minValue = 0.0;
		this.maxValue = 0.0;
	}

	@Override
	public String toString() {
		return "ParameterBoundary [parameterName=" + parameterName
				+ ", minValue=" + minValue + ", maxValue=" + maxValue + "]";
	}
	
}
